README – Replication Materials


Article: “Institutionalized Defense Cooperation and Regime Security”
Journal: Journal of Conflict Resolution
Author: Md Muhibbur Rahman


The replication materials contain the data and code needed to reproduce the empirical results and figures in the main text and online appendix.

All regression models in the main text and appendix except the GTATE models are implemented in Stata. Most figures are also created in Stata. Figures 5 and 6 (GTATE graphs) and Figure A2 (DCA network in Asia) are produced in Python (Jupyter notebooks), and the required JSON files are included.

Figure A2 additionally requires COW-country-codes.csv.

Replication requires updating file paths in the Stata and Python code to match the user’s local directory, where the data and code files are to be stored after downloading.



2. Files in this Archive

2.1 Data

JCR_replication_data.dta
Main dataset for all country-year models (main text + appendices).
Used for Figures 3–6 (main text) and Figure A4 (appendices).

JCR_data_dyadic.dta
Dataset for dyad-year models (Tables A13–A15) in the appendices.
Used for Figure A2 (with COW-country-codes.csv).

COW-country-codes.csv
Correlates of War country codes used for Figure A2 (with JCR_data_dyadic.dta).

JCR_data_DCAsign.dta
Used for Figure 1(a): Patterns of DCA Proliferation (over time), main text.

JCR_data_descriptive.dta
Used for Figure 1(b): Patterns of DCA Proliferation (by type), main text.
Used for all three graphs in Figure A3 (Duration status), appendices.



2.2 Stata Code

tables_main_text_do.do
Replicates all regression models in the main text, except the GTATE analysis (Figures 5 and 6).

tables_appendices_do.do
Replicates all regression models in the appendix, including dyad-year models.

figures_main_text_do.do
Replicates figures in the main text, except GTATE figures (Figures 5 and 6).

figures_appendices_do.do
Replicates appendices' figures, except Figure A2 (DCA network in Asia).

*Note: Ensure the correct dataset is loaded before running each set of models/figures.



2.3 Python/Jupyter Notebook Code

figure_5_and_6_json.ipynb
Produces GTATE figures: Figures 5 and 6 (main text).

figure_appendices_A2_json.ipynb
Produces Figure A2: DCA network in Asia (appendices).

*Note (Python/Jupyter):
Install required packages listed in the notebooks.
Update file paths to match your local directory containing the relevant files.



3. Supplementary Appendices

A PDF file containing supplementary analyses reported in the appendices.



4. Contact

For questions about the replication materials, please contact:

Md Muhibbur Rahman
Email: mrahman5@upenn.edu; rmuhib.research@gmail.com